<?php

class Answers extends Zend_Db_Table_Abstract
{
    protected $_name = 'survey_answers';
    protected $_primary = 'AnswerId';  
 
    protected $_referenceMap    = array(
        'Questions' => array(
            'columns'           => array('QuestionId'),
            'refTableClass'     => 'Questions',
            'refColumns'        => array('QuestionId')
        )
    );
 
}